@charset "UTF-8";
body {
  margin: 0 auto;
  padding: 0;
}

button {
  cursor: pointer;
}

li {
  list-style: none;
}

.mask {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  z-index: 2;
  cursor: pointer;
  display: none;
}

.window {
  box-sizing: border-box;
  padding: 5px 10px;
  background-color: white;
  width: 450px;
  height: 550px;
  position: relative;
  border-radius: 10px;
}

.window ul {
  margin-top: 80px;
}

.window li {
  margin: 10px 20px;
}

.window li input {
  border: 2px solid #989ca0;
  border-radius: 6px;
  height: 25px;
  margin: 10px 10px;
  width: 60%;
  outline-style: none;
}

.window li label {
  width: 40px;
  height: 30px;
  color: #64666a;
}

.window .cancel {
  box-sizing: border-box;
  padding-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #dcdfe6;
  background-color: #ffffff;
  text-align: center;
  float: right;
}

.window .cancel:hover {
  color: #f8f8f8;
  background-color: #dfdfdf;
}

.window .add {
  background-color: #409eff;
  color: white;
  border-style: none;
  border-radius: 5px;
  width: 100px;
  height: 40px;
  position: absolute;
  margin-top: 30px;
  left: 37%;
  font-size: 18px;
}

.window .add:hover {
  color: #e7e7e7;
}

.top {
  padding: 5px 10px;
  position: fixed;
  z-index: 2;
  width: 100%;
  height: 50px;
  text-align: center;
  background-image: linear-gradient(to right, #64acfe, #7b92fa, #9677f9, #9e6ff9);
  color: aliceblue;
  font-size: 20px;
  box-sizing: border-box;
  padding-top: 10px;
}

.top .iconfont {
  cursor: pointer;
  font-size: 40px;
  float: left;
}

.top .backBtn {
  background: transparent;
  border-style: none;
  float: right;
  cursor: pointer;
}

.top .backBtn .iconfont {
  font-size: 28px;
  color: white;
}

.top .backBtn .iconfont:hover {
  color: #e6e9ee;
}

.viewport {
  display: flex;
  position: relative;
  top: 50px;
}

.sidebar {
  position: fixed;
  color: #9fa3a4;
  margin-top: 0;
  width: 12%;
  height: 100%;
  line-height: 30px;
  box-sizing: border-box;
  background-color: #292f33;
  background-image: url(../img/33c7b314-d68d-45fa-9cd1-7a51583faaf3.jpg);
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
}

.sidebar::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #292f33;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.sidebar .header {
  position: relative;
  z-index: 1;
  margin: 0;
  height: 100px;
  padding-left: 5px;
  text-align: center;
}

.sidebar .header p {
  margin-top: 0;
}

.sidebar .header .head-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
  margin-top: 25px;
}

.sidebar .header .head-img img {
  width: 100%;
  height: 100%;
}

.sidebar .nav {
  position: relative;
  z-index: 1;
  height: 500px;
  font-size: 17px;
  color: #c5c5c5;
  list-style: none;
  padding-left: 5px;
}

.sidebar .nav > li {
  height: 40px;
  margin: 5px;
  text-align: center;
}

.sidebar .nav > li:hover {
  cursor: pointer;
  color: white;
}

.sidebar .nav li:nth-child(1) {
  color: white;
}

.content {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  left: 12%;
  box-sizing: border-box;
  padding: 45px 50px;
  padding-top: 0;
  width: 88%;
  background-color: #f4f5fa;
}

.content p {
  color: #64666a;
}

.refresh {
  height: 50px;
  box-sizing: border-box;
  padding: 10px 20px;
  width: 100%;
}

.refresh .fresh {
  float: right;
  border: 1px solid #dcdfe6;
  background-color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.refresh .fresh i {
  font-weight: lighter;
  color: #64666a;
}

.refresh .fresh:hover {
  background-color: #e8e5e5;
}

#stu-info {
  width: 100%;
  height: 450px;
}

#stu-info input[value="删除"] {
  background-color: #f56c6c;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

table tr,
table th,
table td {
  border: 1px solid #c8c8c8;
}

table thead {
  color: #51556a;
  background-color: #f4f5fa;
}

table tbody tr:nth-child(even) {
  background-color: #eff3f6;
}

table tbody input {
  background: transparent;
}

table .remove {
  height: 25px;
  width: 40px;
  background-color: #fef0f0;
  border-radius: 3px;
  border: 1px solid #f56c6c;
}

table .remove i {
  color: #f56c6c;
  font-size: 20px;
}

table .remove:hover {
  background-color: #fbbdbd;
}

table .edit {
  height: 25px;
  width: 40px;
  border-radius: 3px;
  background-color: #e8f4ff;
  border: 1px solid #64acfe;
}

table .edit i {
  font-size: 20px;
  color: #64acfe;
}

table .edit:hover {
  background-color: #b4d4f8;
}

table .save {
  height: 25px;
  width: 40px;
  background-color: #e4f5e6;
  border: 1px solid #138a11;
  border-radius: 5px;
}

table .save i {
  color: #0bb767;
}

table .save:hover {
  background-color: #bfe8c0;
}

table input {
  outline-style: none;
  border-style: none;
  border-bottom: 1px solid #444749;
  width: 100px;
  font-size: 16px;
}

table tbody {
  font-size: 16px;
}

caption {
  box-sizing: border-box;
  padding-top: 5px;
  height: 30px;
  background-color: #64acfe;
  color: white;
}

.info {
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 3px 5px #eeeff4, -1px -3px 5px #eeeff4;
  height: 100%;
  width: 100%;
  padding: 15px 15px;
  box-sizing: border-box;
}

#search-add {
  position: relative;
  border: 2px solid #edf3f7;
  height: 100px;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 15px;
}

#search-add label {
  height: 40px;
  box-sizing: border-box;
  padding: 5px 5px;
}

#search-add .addBtn {
  border: 1px solid #64acfe;
  font-size: 12px;
  color: #64acfe;
  height: 30px;
  background-color: #e8f4ff;
  width: 60px;
  font-size: 12px;
  letter-spacing: 1px;
  margin: 10px;
  border-radius: 5px;
}

#search-add .addBtn i {
  font-size: 12px;
}

#search-add .addBtn:hover {
  background-color: #64acfe;
  color: white;
}

#search-add .search input[name="search"] {
  height: 30px;
  border-radius: 5px;
}

#search-add .search button {
  height: 32px;
  width: 65px;
  background-color: #55aaff;
  color: white;
  border-style: none;
  border-radius: 5px;
}

#search-add .search button:hover {
  background-color: #459ef7;
}

#search-add .search input {
  padding-left: 5px;
  width: 200px;
  height: 22px;
  outline-style: none;
  border: 2px solid #edf3f7;
}
